package lec;

interface Q{
	public static final int y = 10;
	public abstract void initialize();
}
interface X{}
class R implements Q{
	public R(){	}
	public void initialize() {	System.out.println(" y is " + y); }
}
class T extends R{}
class U implements X{}
public class MyClass {
	public static void main(String[] arg){
		Q a = new R();
		Q b = new T();
		R c = new R();
		R d = new T();

		
	}
}
